import { requestClient } from '#/api/request';

// 分页列表
export const queryPage = (params: any) =>
  requestClient.get('/bus/bbt/page', { params });

// 全部列表
export const queryList = (params: any) =>
  requestClient.get('/bus/bbt/list', { params });

// 添加
export const querySave = (params: any) =>
  requestClient.post('/bus/bbt/save', params);

// 更新
export const queryUpdate = (params: any) =>
  requestClient.post('/bus/bbt/update', params);

// 删除
export const queryRemove = (params: any) =>
  requestClient.post('/bus/bbt/remove', params);

// 修改状态
export const setStatus = (params: any) =>
  requestClient.post('/bus/bbt/setState', params);
